package com.woniuxy.repay.mapper;


import com.woniuxy.entity.RepaymentManage;
import com.woniuxy.entity.RepaymentRegistration;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author NATHEN
 */
@Mapper
public interface RepaymentRegistrationMapper {

    /**
     * 新增 还款详情
     * @param repaymentRegistration
     */
    void insertByCondition(RepaymentRegistration repaymentRegistration);

    /**
     * 更改 还款
     * @param repaymentRegistration
     */
    void updateByCondition(RepaymentRegistration repaymentRegistration);

    /**
     * 查询还款
     * @param repaymentRegistration
     * @return
     */
    List<RepaymentRegistration> selectByCondition(RepaymentRegistration repaymentRegistration);
}
